<script setup>
import {ref} from "vue";

const num = ref(1)
</script>

<template>
  <div class="padding">
    <van-card
        v-for="item in 3"
        price="2.00"
        desc="DYJ"
        title="商品标题"
        thumb="https://img01.yzcdn.cn/vant/ipad.jpeg"
        centered="true"
        origin-price="10.00"
    >
      <template #footer>
        <van-stepper v-model="num" theme="round" button-size="22" disable-input />
      </template>
    </van-card>
  </div>
</template>

<style scoped lang="less">
::v-deep{
  .van-card__price{
    color: red
  }
}
</style>